package com.gb.demand.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_member")
@ApiModel(value="member对象", description="")
public class Member extends Model<Member> implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "添加时间")
    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Boolean deleteStatus;

    @TableField("userid")
    private Integer userid;

    private String number;

    private Integer pid;

    private String user;

    private String password;

    private String rand;

    private String name;

    private Integer sex;

    private String mobile;

    private String email;

    private String identityCard;

    private String qq;

    private String msn;

    private String skype;

    private Integer provinceid;

    private Integer cityid;

    private Integer areaid;

    private String area;

    private String logo;

    private String ip;

    private Integer point;

    private Integer statu;

    private Date regtime;

    @TableField("lastLoginTime")
    private Integer lastLoginTime;

    private String invite;

    private Integer sellerpoints;

    private Integer buyerpoints;

    private Integer emailVerify;

    private String emailVerifyCode;

    private Integer mobileVerify;

    private Integer identityCardVerify;

    private String position;

    private String tel;

    private String email2;

    @TableField("KjbNumber")
    private String KjbNumber;

    private String openid;

    private String decodeopenid;

    private Integer appLoginStatus;

    private Integer uId;

    private String usersafekey;

    private String company;

    private String netshop;

    private String cardno;

    private String bank;

    private String address;

    private String lng;

    private String lat;

    private Integer isTest;

    private String shop;

    private Integer salesmanId;

    private Integer director;

    private Integer isGw;

    private Integer authSource;

    private Integer departmentId;

    private String departmentShop;

    private Integer personBudget;

    private String canLogin;

    private String canOrder;

    private String canBudgetControl;

    private String departmentOrderLook;

    private String departmentOrderOperate;

    private Integer departmentShLevel;

    private Integer departmentShId;

    private String canGoodShenhe;

    @TableField("userType")
    private String userType;

    private String canLookSupplier;

    private String erpdep;

    private String erpcomp;

    private Integer spId;

    private Integer spId2;

    private Float dis;

}
